//
//  UIButton+comment.m
//  BOSS-SOOC
//
//  Created by apple on 16/8/16.
//  Copyright © 2016年 Gcx. All rights reserved.
//

#import "UIButton+comment.h"

@implementation UIButton (comment)

+ (UIButton *)initWithFrame:(CGRect)frame type:(UIButtonType)type title:(NSString *)title image:(NSString *)image selectImage:(NSString *)selectImage{

    UIButton *btn = [UIButton buttonWithType:type];
    
    btn.frame = frame;
    
    [btn setImage:[UIImage imageNamed:image] forState:UIControlStateNormal];
    [btn setImage:[UIImage imageNamed:selectImage] forState:UIControlStateHighlighted];
    

    return btn;
}


@end
